package com._数组Demo1;

import java.util.MissingFormatArgumentException;

public class _Test4 {
    public static void main(String[] args) {
        int[]arr={12,13,84,79,100,999,1000,24};
        int max = arr[0];
        for (int i = 1; i < arr.length; i++) {
            if (max>/*<*/arr[i]){
                max =arr[i];
            }
        }
        System.out.println(max);
    }
}
